﻿<Window x:Class="GA_SCHED_DESIGNER.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="434">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="130*" />
            <ColumnDefinition Width="130*" />
            <ColumnDefinition Width="152*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="146*" />
            <RowDefinition Height="165*" />
        </Grid.RowDefinitions>
        <Button Click="btnProfs_Click" Name="btnProfs" Height="115" HorizontalAlignment="Left" Margin="12,12,0,0" VerticalAlignment="Top" Width="112">
            <Button.Template>
                <ControlTemplate>
                    <StackPanel Orientation="Vertical">
                        <Image Height="90" Source="/GA_SCHED_DESIGNER;component/Images/User-icon.png" FlowDirection="LeftToRight">
                        </Image>
                        <Label Content="Преподаватели" VerticalAlignment="Center" VerticalContentAlignment="Center" HorizontalAlignment="Center"></Label>
                    </StackPanel>
                </ControlTemplate>
            </Button.Template>
        </Button>
        <Button Click="btnCourses_Click" Content="Button" Margin="0,12,0,0" Name="btnCourses" Grid.Column="1" Height="115" VerticalAlignment="Top" HorizontalAlignment="Left" Width="112">
            <Button.Template>
                <ControlTemplate>
                    <StackPanel Orientation="Vertical">
                        <Image FlowDirection="LeftToRight" Height="90" Source="/GA_SCHED_DESIGNER;component/Images/softskill-course-icon.png" />
                        <Label Content="Предметы" HorizontalAlignment="Center" VerticalAlignment="Center" VerticalContentAlignment="Center" />
                    </StackPanel>
                </ControlTemplate>
            </Button.Template>
        </Button>
        <Button Click="btnRooms_Click" Content="Button" Height="115" HorizontalAlignment="Left" Margin="12,24,0,0" Name="btnRooms" VerticalAlignment="Top" Width="112" Grid.Row="1">
            <Button.Template>
                <ControlTemplate>
                    <StackPanel Orientation="Vertical">
                        <Image FlowDirection="LeftToRight" Height="90" Source="/GA_SCHED_DESIGNER;component/Images/waiting_room_icon.jpg" />
                        <Label Content="Комнаты" HorizontalAlignment="Center" VerticalAlignment="Center" VerticalContentAlignment="Center" SnapsToDevicePixels="False" />
                    </StackPanel>
                </ControlTemplate>
            </Button.Template>
        </Button>
        <Button Click="btnGroups_Click" Content="Button" Height="115" HorizontalAlignment="Left" Margin="0,24,0,0" Name="btnGroups" VerticalAlignment="Top" Width="112" Grid.Column="1" Grid.Row="1">
            <Button.Template>
                <ControlTemplate>
                    <StackPanel Orientation="Vertical">
                        <Image FlowDirection="LeftToRight" Height="90" Source="/GA_SCHED_DESIGNER;component/Images/user-group-icon.png" />
                        <Label Content="Группы" HorizontalAlignment="Center" VerticalAlignment="Center" VerticalContentAlignment="Center" />
                    </StackPanel>
                </ControlTemplate>
            </Button.Template>
        </Button>
        <Button Click="btnSched_Click" Content="Button" Height="115" HorizontalAlignment="Left" Margin="4,12,0,0" Name="btnSched" VerticalAlignment="Top" Width="148" Grid.Column="2">
            <Button.Template>
                <ControlTemplate>
                    <StackPanel Orientation="Vertical">
                        <Image FlowDirection="LeftToRight" Height="90" Source="/GA_SCHED_DESIGNER;component/Images/schedule%20icon.jpg" />
                        <Label Content="Расписание" HorizontalAlignment="Center" VerticalAlignment="Center" VerticalContentAlignment="Center" />
                    </StackPanel>
                </ControlTemplate>
            </Button.Template>
        </Button>
        <Button Content="Button" Height="115" HorizontalAlignment="Left" Margin="0,24,0,0" Name="btnSettings" VerticalAlignment="Top" Width="148" Grid.Column="2" Grid.Row="1">
            <Button.Template>
                <ControlTemplate>
                    <StackPanel Orientation="Vertical">
                        <Image FlowDirection="LeftToRight" Height="90" Source="/GA_SCHED_DESIGNER;component/Images/settings-3.png" />
                        <Label Content="Настройки" HorizontalAlignment="Center" VerticalAlignment="Center" VerticalContentAlignment="Center" />
                    </StackPanel>
                </ControlTemplate>
            </Button.Template>
        </Button>
    </Grid>
</Window>
